<?php
require_once '../Junction.php';
require_once 'Test/Libs/Bootstrap.php';
require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';

require_once 'Test/Junction/Suite.php';
require_once 'Test/Junction/Core/Suite.php';
require_once 'Test/Junction/Query/Suite.php';
require_once 'Test/Junction/Db/Creole/Suite.php';

class TestSuite {

    public static function main()
    {
        PHPUnit_TextUI_TestRunner::run(self::suite());
    }
 
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('Junction Tests');
 
        $suite->addTestSuite('Test_Junction_Suite');
        $suite->addTestSuite('Test_Junction_Core_Suite');
        $suite->addTestSuite('Test_Junction_Query_Suite');
        $suite->addTestSuite('Test_Junction_Db_Creole_Suite');
 
        return $suite;
    }
}


TestSuite::main();
?>